package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author itheima
 * @Date 2022/4/24 10:11
 * @Configuration作用：等价于applicationContext.xml 组件类也是配置类
 * @ComponentScan作用：通过扫描包，找到组件类 String[] value()
 */
@Configuration
@ComponentScan("com.itheima")
public class SpringConfig {
}
